package com.yx.fmmall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Classname ResultVO
 * @Date 2022/01/04 22:59
 * @Author by yx
 * @Description :
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ResultVO对象",description = "封装接口返回给前端的数据")
public class ResultVO {

    //  响应给前端的状态码
    @ApiModelProperty(value = "响应状态码",dataType = "int")
    private int code;
    // 响应给前端的提示信息
    @ApiModelProperty(value = "响应提示信息",dataType = "String")
    private String msg;
    // 响应给前端的数据
    @ApiModelProperty(value = "响应数据",dataType = "Object")
    private Object data;
}
